package com.digital.smartgrow.dto.datacenter;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.digital.smartgrow.dto.PageDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * Created by SunYuechao on 2022/7/11 下午12:06
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="SysDictData对象", description="字典数据表")
public class SysDictDataPageDTO extends PageDTO {

    @ApiModelProperty(value = "字典编码")
    //@TableId(value = "dict_code", type = IdType.AUTO)
    private Long dict_code;

    @ApiModelProperty(value = "字典标签")
    //@TableField("dict_label")
    private String dict_label;

    @ApiModelProperty(value = "字典键值")
    //@TableField("dict_value")
    private String dict_value;

    @ApiModelProperty(value = "字典类型")
    //@TableField("dict_type")
    private String dict_type;
}
